package behavioral.observer.custom;

public class ListenerB implements OBserver {

    public ListenerB(Button btn) {
        btn.registerOb(this);
    }

    @Override
    public void update(String msg, String val) {
        System.out.println("listerB : val = " + val);
    }
}
